#pragma once
#include "Figure.h"

class Muchie :
	public Figure
{
public:
	Muchie(void);
	virtual ~Muchie(void);

	void Draw(CDC* pDC);

	bool HasPoint(const CPoint& point);

	bool CanChangeAbscissa(const CPoint& point, const int x);

	bool CanChangeOrdinate(const CPoint& point, const int y);

	bool HasPointOnBorder(const CPoint& point);

	void UpdateSize(const CPoint& point);

private:
	CPoint endPoint;
};

